wayland: Avoid segfault when cursors are freed
authorMatthias Clasen <mclasen@redhat.com>
Fri, 22 Mar 2013 23:09:20 +0000 (19:09 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 22 Mar 2013 23:09:20 +0000 (19:09 -0400)
commit37843faea9e67cb3bfe8dfb11c76e8dd78b876c7
treee4a2a6f1ee37c1661299e6218c763b7d6fdb995d
parentcc70ac104d359f03d52664ad037e3245a15769c4
wayland: Avoid segfault when cursors are freed

The check for GDK_CURSOR_IS_PIXMAP was ineffective, since _all_
cursors have this type, from the looks of it. Instead, store
buffer ownership information separately.
gdk/wayland/gdkcursor-wayland.c